-- GENERATED SPELL FOR [Bloodscalp Scout] --


function spell0_588(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_588', 596, 1)
end

function Sorts_588(pUnit, Event)
local choix_sorts_588 = math.random(0, 0)
if choix_sorts_588 == 0 then
pUnit:RegisterEvent('spell0_588', 1, 1)
end
end

function mob588_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_588', math.random(1500, 3000), 1)
end

function mob588_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob588_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob588_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(588, 1, 'mob588_Action')
RegisterUnitEvent(588, 2, 'mob588_Leave')
RegisterUnitEvent(588, 3, 'mob588_Kill')
RegisterUnitEvent(588, 4, 'mob588_Die')
